import { combineReducers, createStore } from "redux";
import CommonReducer from "./common/reducer";

export const rootReducer = combineReducers({
  common: CommonReducer,
});

export const store = createStore(rootReducer);

export type RootState = ReturnType<typeof rootReducer>;